﻿using FB.Data.Models;
using FB.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace FB.Providers.EmployeeInfo
{
    [Table("emp_ProfilePics")]
    public class ProfilePic : FBAuditModel, IEmployeeInfoEntity
    {
        [Key, StringLength(16)]
        public string EMPCode { get; set; }

        [Required]
        public byte[] ProfileImage { get; set; }


        [ForeignKey("EMPCode")]
        public virtual Employee Employees { get; set; }
    }
}
